<div class="page-crumb">
	<div class="ui-ctrl ui-crumb"><span class="ui-crumb-node ui-crumb-node-first ui-crumb-node-last">新建订单</span></div>
</div>

<div class="layui-main">
	<form class="layui-form" action="" onsubmit="return false">
	
		<input type="text" name="change" hidden value="add">
		<div class="layui-form-item">
			<label class="layui-form-label">订单名称：</label>
			<div class="layui-input-inline">
				<input type="text" name="order_name" lay-verify="order_name" autocomplete="off" placeholder="请输入订单名称" class="layui-input">
			</div>
			<div class="layui-form-mid layui-word-aux">最多可输入100个字符</div>
		</div>

		<div class="layui-form-item">
			<label class="layui-form-label">售卖方式：</label>
			<div class="layui-input-block">
				<input type="radio" name="sale_mode" lay-filter="charge" value="1" data-state=""	title="直投" checked="">
				<input type="radio" name="sale_mode" lay-filter="charge" value="2" data-state="" 	title="竞价">
			</div>
		</div>
		
		<div class="layui-form-item">
			<label class="layui-form-label">开始时间：</label>
			<div class="layui-inline">
				<input class="layui-input" name="startTime" lay-filter="start_time" placeholder="请选择开始时间" onclick="layui.laydate({elem: this, istime: true, format: 'YYYY-MM-DD hh:mm:ss'})">
			</div>
		</div>
		
		<div class="layui-form-item">
			<label class="layui-form-label">结束时间：</label>
			<div class="layui-inline">
				<input class="layui-input" name="endTime" lay-filter="endTime" placeholder="请选择结束时间" onclick="layui.laydate({elem: this, istime: true, format: 'YYYY-MM-DD hh:mm:ss'})">
			</div>
		</div>
		<div class="layui-form-item">
			<label class="layui-form-label">预算金额：</label>
			<div class="layui-input-inline">
				<input type="text" name="amount" lay-verify="amount" autocomplete="off" placeholder="请输入预算金额" class="layui-input">
			</div>
			<div class="layui-form-mid layui-word-aux">最多可输入100个字符</div>
		</div>
		<div class="layui-form-item">
			<label class="layui-form-label">广告客户：</label>
			<div class="layui-input-inline">
				<select name="cid" lay-filter="">
					<option value="">请选择...</option>
					<foreach name="customer" item="vo" key="k">
						<option value="{$vo.id}">{$vo.name}</option>
					</foreach>

				</select>
			</div>
		</div>

		<div class="layui-form-item">
			<label class="layui-form-label">合同号：</label>
			<div class="layui-input-inline">
				<input type="text" name="contract_number" lay-verify="name" autocomplete="off" placeholder="请输入合同号" class="layui-input">
			</div>
			<div class="layui-form-mid layui-word-aux">最多可输入128个字符</div>
		</div>

		<div class="layui-form-item">
			<label class="layui-form-label">销售人员：</label>
			<div class="layui-input-inline">
				<input type="text" name="sale_people" lay-verify="tag" autocomplete="off" placeholder="" class="layui-input">
			</div>
		</div>

		<div class="layui-form-item">
			<label class="layui-form-label">投放人员：</label>
			<div class="layui-input-inline">
				<input type="text" name="delivery_people" lay-verify="tag" autocomplete="off" placeholder="" class="layui-input">
			</div>
		</div>

		<div class="layui-form-item layui-form-text">
			<label class="layui-form-label">备注</label>
			<div class="layui-input-block">
				<textarea name="remark" placeholder="请输入备注内容" class="layui-textarea"></textarea>
			</div>
		</div>
		
		<div class="layui-form-item">
			<div class="layui-input-block">
			  <button class="layui-btn" lay-submit="" lay-filter="submit">　　保存　　</button>
			  <button class="layui-btn layui-btn-primary close-btn" onclick="PopModel.closeFrame();">取消</button>
			</div>
		</div>
		
	</form>
	<script src="__BACKEND_STATIC__/js/AdOrder/add.js"></script>
</div>
</block>